package com.hssy.wululuaplan.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 注册表单
 * @since 2025/6/19 17:09
 * @author Mr.Hongtao
 */
@ApiModel("注册表单")
@Data
public class RegisterForm {

    @NotEmpty(message = "用户名不能为空")
    @ApiModelProperty("用户名")
    private String username;

    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;

    @NotEmpty(message = "邀请码不能为空")
    @ApiModelProperty("邀请码")
    private String inviteCode;
}
